home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / muds / pennmush.000 / pennmush-1.50-p8-linux.tar / pennmush / interface.h < prev    next >
C/C++ Source or Header  |  1992-11-07  |  901b  |  39 lines

  1. /* interface.h */
  2.  
  3. #include "copyright.h"
  4. #include "config.h"
  5. #include "db.h"
  6.  
  7. /* these symbols must be defined by the interface */
  8. extern void notify_check();
  9. extern int shutdown_flag;    /* if non-zero, interface should shut down */
  10. extern void emergency_shutdown();
  11. extern void boot_off();        /* remove a player */
  12. extern void raw_broadcast();
  13. extern void raw_notify();
  14. extern dbref short_page();
  15. extern void do_doing();
  16. /* the following symbols are provided by game.c */
  17.  
  18. /* max length of command argument to process_command */
  19. #define MAX_COMMAND_LEN 1024
  20. #define BUFFER_LEN ((MAX_COMMAND_LEN)*4)
  21.  
  22. #define SBUF_LEN 32
  23.  
  24. extern void process_command();
  25.  
  26. /* from player.c */
  27. extern dbref create_player();
  28. extern dbref connect_player();
  29. extern void check_last();
  30.  
  31. /* from look.c */
  32. extern void do_look_around();
  33.  
  34. extern int init_game();
  35. extern void dump_database();
  36. extern void panic();
  37. extern int depth;
  38.  
  39.